import App from './App'
import axios from './utils/request/request.js'
import {router,RouterMount} from './router.js'
Vue.use(router)
Vue.prototype.$axios = axios
// 在组件中使用
/*this.$axios({
	methods: 'GET',
	url: '',
	params: {
		
	}
}).then(res => {}).catch(err => {}) */
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue({
    ...App
})
// #ifdef H5
RouterMount(app,router,'#app')
// #endif
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif